﻿using System;
using MFToolkit.Net.XBee;

namespace LaunchPad.Core
{
    public class RemoteTxAsyncResult : IAsyncResult
    {
        private readonly TxStatusType _statusType;
        private readonly bool _completed;

        public RemoteTxAsyncResult(TxStatusType statusType, bool completed)
        {
            _statusType = statusType;
            _completed = completed;
        }

        public object AsyncState
        {
            get { return _statusType; }
        }

        public System.Threading.WaitHandle AsyncWaitHandle
        {
            get { throw new NotImplementedException(); }
        }

        public bool CompletedSynchronously
        {
            get { throw new NotImplementedException(); }
        }

        public bool IsCompleted
        {
            get { return _completed; }
        }
    }
}
